﻿<UserControl x:Class="SimCityPak.ViewBasicProperty"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="30" d:DesignWidth="300">
    <Grid>
        <TextBlock Text="{Binding DisplayValue}" Name="txtValue" />
        <Button HorizontalAlignment="Right" Click="Button_Click">
            <Button.Template>
                <ControlTemplate>
                    <Image Source="/SimCityPak;component/Images/edit.png" Cursor="Hand" Height="16" Width="16" />
                </ControlTemplate>
            </Button.Template>
        </Button>
    </Grid>
</UserControl>
